﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using IP.Core.IPBusinessService;
using IP.Core.IPCommon;
using IP.Core.IPData;
using IP.Core.IPUserService;
using BKIDS;
using BKIDS.CDBNames;
using System.Data;

public partial class SiteMaster : System.Web.UI.MasterPage
{


    #region Members   
    string m_str_user_name = "";
    #endregion

    protected void Page_Load(object sender, EventArgs e)
    {
        if (Session["AccounLogin"] != null)
        {
            if (Session["AccounLogin"].ToString().Equals("Y"))
            {
                m_lhk_user_name.Text = "Xin chào: " + Session["UserName"].ToString();
            }
            else
            {
                Response.Redirect("/BKIELWeb/Account/Login.aspx");
            }
        }
        else
        {
            Response.Redirect("/BKIELWeb/Account/Login.aspx");
        }

        m_str_user_name = CIPConvert.ToStr(Session["UserName"]);
    }



}
